{{with .Params.hero}}
{{$class :="md-hero"}}
{{if $.Site.Params.theme.feature.tabs}}
    {{$class:="md-hero md-hero--expand"}}
{{end}} 
<div class="{{$class}}" data-md-component="hero">
  <div class="md-hero__inner md-grid">
    {{.}}
  </div>
</div>
{{end}}